package org.shagin.jfin.model.event;

import org.shagin.jfin.data.model.IBudget;
import org.shagin.jfin.data.model.OperationRule;

/**
 * The Class OperationRuleEvent.
 */
@SuppressWarnings("serial")
public class OperationRuleEvent extends BudgetItemEvent<OperationRule> {

    /**
     * Instantiates a new operation rule event.
     * 
     * @param source the source
     * @param operationRule the operation rule
     */
    public OperationRuleEvent(IBudget source, OperationRule operationRule) {
        super(source, operationRule);
    }

    /**
     * Gets the operation rule.
     * 
     * @return the operation rule
     */
    public OperationRule getOperationRule() {
        return getBudgetItem();
    }
}
